﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace TuanAnhPersonalWeb.Models
{
    public class Contact
    {
        [Required(ErrorMessage = "*")]
        [Display(Name = "Tên:")]
        public string Client { get; set; }
        
        [Required(ErrorMessage = "*")]
        [Display(Name = "Email:")]
        public string Email { get; set; }

        [Required(ErrorMessage = "*")]
        [Display(Name = "Tên thông điệp:")]
        public string ContentName { get; set; }

        [Required(ErrorMessage = "*")]
        [Display(Name = "Thông điệp:")]
        [DataType(DataType.MultilineText)]
        public string Content { get; set; }

    }
}
